Create a custom log file in Magento 2
Create a custom log file in Magento 2 to log data .
$writer = new \Zend\Log\Writer\Stream(BP . '/var/log/custom.log');
$logger = new \Zend\Log\Logger();
$logger->addWriter($writer);
$logger->info("Data".$logmessage);
OR
protected $logger;
public function __construct(\Psr\Log\LoggerInterface $logger)
{
$this->logger = $logger;
}
$this->logger->info($logmessage);
$this->logger->debug($logmessage);
Welcome S666 tools – Official homepage of S666 bookmaker. We provide many games such as online lottery 1 to 99, fish shooting for prizes, online casino, soccer betting... Operating for more than 14 years in the Vietnamese market - please click here Readmore: trang chủ s666
NEW88 is an organization that is actively forming and developing with the goal of putting itself at the forefront of the online entertainment and gambling industry. NEW88 is not only a prestigious entertainment venue but also a symbol of innovation and dedication to bringing the best experience to players. - please click here Readmore: new888
G9BET is the leading reputable online bookmaker today that is worth experiencing. The playground is legally licensed from international organizations around the world. - please click here Readmore: https://g9bet.site/
alo789 is the leading reputable bookmaker brand in Asia that any online betting enthusiast in the market knows. THA Casino is a trusted and familiar "home" address of the betting community in countries in the region, including Vietnam. - please click here Readmore: đá gà thomo
Win79 always appears in the list of the most attractive entertainment game portals in Vietnam. Joining this playground, you can freely explore many interesting bets. In addition, you can also receive many other memorable experiences. Readmore: win 79
THABET is the leading reputable bookmaker brand in Asia that any online betting enthusiast in the market knows. THA Casino is a trusted and familiar "home" address of the betting community in countries in the region, including Vietnam. - please click here Readmore: trang chủ thabet
Helo88 (also known as Hello 88) is a bookmaker that is making waves in the online gaming community and those who love online betting. helo88 is not simply a bookmaker, but also a miniature entertainment world. With a series of interesting and exciting betting entertainment games. Readmore: helo 88
bj88 is known as one of the newest and most reputable bookmakers in 2024 in Asia. Website bj88 will share all necessary information for those who need it. This is bj88's latest homepage - please click here Readmore: nạp tiền bj88
Coming to 24N means you are entering the world of professionalism and class that a leading European bookmaker brings. Enjoy the world of quality, reputable online betting that few markets can provide. - please click here Readmore: https://24n.website/
bj38 is known as one of the newest and most reputable bookmakers in 2024 in Asia. Website bj38 will share all necessary information for those who need it. This is bj38's latest homepage - please click here Readmore: bj38.icu
The i9bet website will answer the questions asked in the above article. There are articles in this that make better sense. Please click this link for more details Readmore: i9bet
Sv388 is a famous brand for providing online cockfighting matches. Here, players will enjoy super classic cockfighting matches of famous cock fighters famous around the world. - please click here Readmore: sv 388
The betting playground is gradually becoming more vibrant than ever with a series of bookmakers from all over. Here, hb88 bookmaker emerged as a central game hall that was warmly received by players across the country. Click here to go to the website Readmore: hb 88
The online game betting market is becoming more vibrant than ever with a series of bookmakers being introduced to Vietnam. In which, i9bet stands out with its new way of operating the game, attracting a large number of supporters from bettors everywhere. Today we introduce i9bet - the most popular bookmaker today. Readmore: https://i9bet.college/
bj38 is known as one of the newest and most reputable bookmakers in 2024 in Asia. Website bj38 will share all necessary information for those who need it. This is bj38's latest homepage - please click here Readmore: đá gà trực tiếp
Please rotate your device
We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site